package com.haier.dreambox.demo.bean.uplus;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;

/**
 * Created by smalant on 14/12/30.
 */
@DatabaseTable
public class DeviceStatus implements Serializable {

    @DatabaseField(generatedId = true)
    public  transient int id;

    @DatabaseField
    public boolean online;

    public DeviceStatus(boolean online) {
        this.online = online;
    }

    public DeviceStatus() {
    }

    @Override
    public String toString() {
        return "DeviceStatus{" +
                "online=" + online +
                '}';
    }
}
